package com.yuan.fetch;

import com.yuan.common.domain.BaseDomain;
import com.yuan.merchant.Merchant;

/**
 * 
 * 自动抓取表
 * 
 * @author Beni
 * 
 */
public class AutoFetch extends BaseDomain {

	private static final long serialVersionUID = 6686935473575169673L;

	private Integer id; // 数据库自增长id

	private String fetchUrl; // 需抓取的url

	private Integer fetchType; // 抓取类型，百度API式，RSS式，html式

	private String encode;   //文件编码

	private Boolean fetched;  //是否运行
	
	private String ownSign;
	
	// many to one
	private Merchant merchantDomain;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getFetchUrl() {
		return fetchUrl;
	}

	public void setFetchUrl(String fetchUrl) {
		this.fetchUrl = fetchUrl;
	}

	public Integer getFetchType() {
		return fetchType;
	}

	public void setFetchType(Integer fetchType) {
		this.fetchType = fetchType;
	}

	public Merchant getMerchantDomain() {
		return merchantDomain;
	}

	public void setMerchantDomain(Merchant merchantDomain) {
		this.merchantDomain = merchantDomain;
	}

	public String getEncode() {
		return encode;
	}

	public void setEncode(String encode) {
		this.encode = encode;
	}

	public Boolean getFetched() {
		return fetched;
	}

	public void setFetched(Boolean fetched) {
		this.fetched = fetched;
	}

	public String getOwnSign() {
		return ownSign;
	}

	public void setOwnSign(String ownSign) {
		this.ownSign = ownSign;
	}
	
}
